<div class="row" style="border-bottom: 10px solid #EFEFEF;padding:10px;">
		<div class="col-lg-4">
			<div class="ukefu-measure">
				<div class="ukefu-bt"> 
					<div class="layui-icon ukewo-btn ukefu-content-ind"><img src="/images/contacts.png" style="width:60px;height:60px;"></div>
					<div class="ukefu-bt-text">
						<div class="ukefu-bt-text-title"
							style="font-weight:400;font-size:24px;border-bottom:1px solid #dedede;line-height: 29px;">
								<#if contactsItem?? && contactsItemList?? && contactsItemList?size gt 0><#list contactsItemList as parentItem><#if parentItem.id==contactsItem.parentid>${parentItem.name!''}<#break></#if></#list>（${contactsItem.name!''}）<#elseif ckinddic??>公共联系人（${ckinddic.name!''}）<#else>全部联系人</#if>
								<#if contactsItem??><br><span style="font-size:15px;color:#AAAAAA;">创建时间：<#if contactsItem.createtime??>${contactsItem.createtime!?string("yyyy-MM-dd HH:mm:ss")}</#if>&nbsp;|&nbsp;创建人：<#if userList??><#list userList as users><#if users.id == contactsItem.creater>${users.uname!''}</#if></#list></#if></span></#if>
							<div id="local_msg"></div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="col-lg-8">
			<div class="ukefu-measure">
				<div class="ukefu-bt" style="text-align: right;height: 30px;"> 
					<h3 class="box-title">
						<span style="float: right;">
							<div class="ukefu-bt-text-content" style="position: absolute;right: 5px;top: 56px;">
								<!-- <form class="layui-form" name="search" action="/apps/contacts/${subtype!''}.html" method="get" style="float: left;">
									<#if itemid??><input type="hidden" name="itemid" value="${itemid!''}"></#if>
									<#if ckind??><input type="hidden" name="ckind" value="${ckind!''}"></#if>
									<div class="layui-form-item">
										<div class="layui-inline">
											<div class="layui-input-inline">
												<input type="text" name="q" value="${q!''}" style="height: 30px;line-height: 30px;margin-top: 4px;border: 1px solid #32c24d;"
													placeholder="请输入查询条件" autocomplete="off" class="layui-input">
												<i class="layui-icon" onclick="search.submit()" style="position: absolute;cursor: pointer;right: 3px;top: 4px;font-size: 20px;color:#32c24d;">&#xe615;</i>
											</div>
										</div>
									</div>
								</form> -->
								<#if typename != "quality">
								<#if (contactsItem?? && contactsItem.parentid?? && contactsItem.parentid!='') ||ckind?? || !contactsItem?? >
								
								<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B05"]?? || user.usertype == "0")) >
								<div class="layui-btn-group ukefu-contacts-h1-btn" >
								  <a href="/apps/contacts/add.html<#if itemid??>?itemid=${itemid}<#elseif ckind??>?ckind=${ckind}</#if>" title="新建联系人" data-toggle="ajax" data-width="950" data-height="600" class="layui-btn layui-btn-sm" ><i class="layui-icon">&#xe608;</i>新建联系人</a>
								</div>
								</#if>
								
								<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B08"]?? || user.usertype == "0")) >
								<div class="layui-btn-group ukefu-btn-group ukefu-contacts-h1-btn" >
									<button class="layui-btn layui-btn-sm" href="/apps/contacts/imp.html<#if itemid??>?itemid=${itemid}<#elseif ckind??>?ckind=${ckind}</#if>" title="导入联系人" data-toggle="ajax" data-width="950" data-height="600">
										<i class="kfont">&#xe641;</i> 导入 
									</button>
								</div>
								</#if>
								
								<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && user.usertype == "0") || (user?? && (user.roleAuthMap["A02_A01_A02_B09"]?? )) >
								<div class="layui-btn-group ukefu-btn-group ukefu-contacts-h1-btn" >
									<button class="layui-btn layui-btn-sm dropdown-menu">
										<i class="kfont">&#xe672;</i> 导出 
										<i class="layui-icon" style="float: right;">&#xe625;</i>
									</button>
									<ul class="ukefu-dropdown-menu layui-anim layui-anim-upbit">
										<li>
											<a href="javascript:void(0)" id="batexp" title="导出联系人" target="_blank">
												<i class="kfont">&#xe672;</i>
												导出选中结果
											</a>
										</li>
										<li>
											<a href="/apps/contacts/expsearch.html?1=1<#if q??>&q=${q!''}</#if><#if itemid??>&itemid=${itemid}<#elseif ckind??>&ckind=${ckind}</#if>&subtype=${subtype}<#if filterCriteria??>&filter=${filterCriteria}</#if>" title="导出联系人" target="_blank">
												<i class="kfont">&#xe672;</i>
												导出当前搜索结果
											</a>
										</li>
										<li>
											<a href="/apps/contacts/expall.html<#if itemid??>?itemid=${itemid}<#elseif ckind??>?ckind=${ckind}</#if>" title="导出联系人" target="_blank">
												<i class="kfont">&#xe672;</i>
												导出全部数据
											</a>
										</li>
									</ul>
								</div>
								</#if>
								
								<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B07"]?? || user.usertype == "0")) >
								
								<div class="layui-btn-group ukefu-btn-group ukefu-contacts-h1-btn" >
									<button class="layui-btn layui-btn-sm dropdown-menu" style="background-color: #FF5722 !important;">
										<i class="layui-icon">&#xe640;</i>删除
										<i class="layui-icon">&#xe625;</i>
									</button>
									<ul class="ukefu-dropdown-menu layui-anim layui-anim-upbit">
										<#if user?? && user.superuser>
										<li>
											<a href="javascript:void(0)" id="searchdel" data-toggle="tip" data-title="请确认是否删除当前筛选的联系人？"  ><i class="layui-icon">&#xe640;</i>
												删除当前筛选
											</a>
										</li>
										</#if>
										<li>
											<a href="javascript:void(0)" id="batdel" data-toggle="tip" data-title="请确认是否删除选中的联系人？"  ><i class="layui-icon">&#xe640;</i>
												删除当前选中
											</a>
										</li>
										
									</ul>
								</div>
								
								</#if>
								
								</#if>
								</#if>
								<#if contactsItem?? && user.id==contactsItem.creater && contactsItem.parentid?? && contactsItem.parentid!=''>
								
									<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B10"]?? || user.usertype == "0")) >
									<div class="layui-btn-group  ukefu-contacts-h1-btn" style="margin-left: 0;">
									  <a href="/apps/contacts/item/edit.html?id=${contactsItem.parentid!''}&itemid=${itemid!''}" title="编辑分类" data-toggle="ajax" data-width="550" data-height="360" class="layui-btn layui-btn-sm" >编辑分类</a>
									</div>
									</#if>
									
								</#if>
								<#if contactsItem?? && !ckind?? && ((isSup?? && isSup) || (user?? && user.superuser) || (user?? && user.id==itemid)) >
								
								<#if (contactsItem?? && contactsItem.parentid?? && contactsItem.parentid!='') ||ckind?? || !contactsItem??>
								<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B11"]?? || user.usertype == "0")) >
								<div class="layui-btn-group ukefu-btn-group ukefu-contacts-h1-btn" >
									<button class="layui-btn layui-btn-sm dropdown-menu">
										<i class="layui-icon">&#xe614;</i> 项目管理
										<i class="layui-icon" style="float: right;">&#xe625;</i>
									</button>
									<ul class="ukefu-dropdown-menu layui-anim layui-anim-upbit">
										<li>
											<a href="/apps/contacts/item/edit.html<#if itemid??>?id=${itemid}</#if>" title="编辑项目" data-toggle="ajax" data-width="550" data-height="360" >
											<i class="layui-icon">&#xe614;</i>
											 编辑项目
											</a>
										</li>
										<li>
											<a href="/apps/contacts/item/auth.html<#if itemid??>?id=${itemid}</#if>" title="项目授权" data-toggle="ajax" data-width="950" data-height="600"  >
											<i class="layui-icon">&#xe614;</i>
											 项目授权
											</a>
										</li>
										<li>
											<a href="/apps/contacts/item/config.html<#if itemid??>?id=${itemid}</#if>" title="项目配置" data-toggle="ajax" data-width="950" data-height="600" >
											<i class="layui-icon">&#xe614;</i>
											项目配置
											</a>
										</li>
									</ul>
								</div>
								</#if>
								<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B17"]?? || user.usertype == "0")) >
								<div class="layui-btn-group  ukefu-contacts-h1-btn" style="margin-left: 0;">
									<a class="layui-btn layui-btn-sm layui-btn-danger" id="delitem" href=<#if contactsList?? && contactsList.content?? && contactsList.content?size gt 0>"javascript:void(0)"<#else>"/apps/contacts/item/delete.html?itemid=${itemid!''}"</#if> style="margin-left:10px;" data-toggle="tip" data-title="请确保该项目没有联系人！" >删除项目</a>
						  		</div>
						  		</#if>
								</#if>
								
						  		</#if>
							</div>
						</span>
					</h3>
				</div>
			</div>
		</div>
	</div>
	
	<div class="ukefu-tab-title" style="margin-left: 0px;">
		<ul class="tab-title">
			<li <#if  maintype=="contacts" && contactstype == "index">class="layui-this"</#if>><a href="/apps/contacts/index.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=index">全部联系人</a></li>
			<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B02"]?? || user.usertype == "0")) >
			<li <#if  maintype=="contacts" && contactstype == "today">class="layui-this"</#if>><a href="/apps/contacts/today.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=today">今日新增</a></li>
			</#if>
			<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B03"]?? || user.usertype == "0")) >
			<li <#if  maintype=="contacts" && contactstype == "week">class="layui-this"</#if>><a href="/apps/contacts/week.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=week">本周新增</a></li>
			</#if>
			
			<!-- <#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B04"]?? || user.usertype == "0")) >
			<div class="layui-btn-group ukefu-btn-group ukefu-contacts-h1-btn" >
			<li class="ukefu-creater-i-menu  <#if  maintype=='contacts' && (contactstype == 'my' || contactstype == 'notcall' || contactstype == 'called' || contactstype == 'callsuccess')>layui-this</#if>">
				<#if contactstype??>
					<#if contactstype == 'notcall'>
						未拨打
					<#elseif contactstype == 'called'>
						已拨打
					<#elseif contactstype == 'callsuccess'>
						拨打成功
					<#elseif contactstype == 'my'>
							我的联系人
					<#else>我的联系人
					</#if>
				<#else>我的联系人
				</#if>
				<i class="layui-icon " style="float: right;">&#xe625;</i>
					<ul class="ukefu-dropdown-menu layui-anim layui-anim-upbit ukefu-dropdown-menu-temp">
							<li>
								<a href="/apps/contacts/my.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=my" style="    padding: 5px 0px;">
									我的联系人
								</a>
							</li>
							<li>
								<a href="/apps/contacts/notcall.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=notcall" style="    padding: 5px 0px;">
									未拨打
								</a>
							</li>
							<li>
								<a href="/apps/contacts/called.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=called" style="    padding: 5px 0px;">
									已拨打
								</a>
							</li>
							<li>
								<a href="/apps/contacts/callsuccess.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=callsuccess" style="    padding: 5px 0px;">
									拨打成功
								</a>
							</li>
					</ul>
				</li>
			</li>
			</div>
			</#if> -->
			
			<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B04"]?? || user.usertype == "0")) >
			<li <#if  maintype=="contacts" && contactstype == "my">class="layui-this"</#if>><a href="/apps/contacts/my.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=my">我的联系人</a></li>
			</#if>
			
			<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B04"]?? || user.usertype == "0")) >
			<li <#if  maintype=="contacts" && contactstype == "notcall">class="layui-this"</#if>><a href="/apps/contacts/notcall.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=notcall">未拨打</a></li>
			</#if>
			
			<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B22"]?? || user.usertype == "0")) >
			<div class="layui-btn-group ukefu-btn-group ukefu-contacts-h1-btn" >
				<li class="<#if  maintype=='contacts' && (contactstype == 'noanswer' || contactstype == 'empno' || contactstype == 'other'|| contactstype == 'callfaild' || contactstype == 'callsuccess' || contactstype == 'called')>layui-this</#if> ukefu-i-menu">
					<#if contactstype??>
						<#if contactstype == 'noanswer'>
							无人接听
						<#elseif contactstype == 'empno'>
							拨打空错号
						<#elseif contactstype == 'other'>
							其他
						<#elseif contactstype == 'callfaild'>
							拨打失败
						<#elseif contactstype == 'callsuccess'>
							拨打成功
						<#else>
							已拨打
						</#if>
					<#else>
						已拨打
					</#if>
					<i class="layui-icon" style="float: right;">&#xe625;</i>
				<ul class="ukefu-dropdown-menu layui-anim layui-anim-upbit ukefu-dropdown-menu-temp">
					<li>
						<a href="/apps/contacts/called.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=called" style="    padding: 5px 0px;">
							已拨打
						</a>
					</li>
					<li>
						<a href="/apps/contacts/callsuccess.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=callsuccess" style="    padding: 5px 0px;">
							拨打成功
						</a>
					</li>
					<li>
						<a href="/apps/contacts/callfaild.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=callfaild" style="    padding: 5px 0px;">
							拨打失败
						</a>
					</li>
					<li>
						<a href="/apps/contacts/callfaild.html?itemid=${itemid!''}&ckind=${ckind!''}&hangupcase=noanswer&contactstype=noanswer" style="    padding: 5px 0px;">
							无人接听
						</a>
					</li>
					<li>
						<a href="/apps/contacts/callfaild.html?itemid=${itemid!''}&ckind=${ckind!''}&hangupcase=empno&contactstype=empno" style="    padding: 5px 0px;">
							拨打空错号
						</a>
					</li>
					<li>
						<a href="/apps/contacts/callfaild.html?itemid=${itemid!''}&ckind=${ckind!''}&hangupcase=other&contactstype=other" style="    padding: 5px 0px;">
							其他
						</a>
					</li>
				</ul>
				</li>
			</div>
			</#if>
			
			<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B19"]?? || user.usertype == "0")) >
			<li <#if  maintype=="contacts" && contactstype == "disorgan">class="layui-this"</#if>><a href="/apps/contacts/disorgan.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=disorgan">部门联系人</a></li>
			</#if>
			
			<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B16"]?? || user.usertype == "0")) >
			<div class="layui-btn-group ukefu-btn-group ukefu-contacts-h1-btn" >
				<li class="<#if  maintype=='contacts' && (contactstype == 'notdis' || contactstype == 'disagent' || contactstype == 'disview')>layui-this</#if> ukefu-notdis-i-menu">
			
				<#if contactstype??>
					<#if contactstype == 'disagent'>
						已分配
					<#elseif contactstype == 'disview'>
						分配情况
					<#elseif contactstype == 'notdis'>
							未分配
					<#else>未分配
					</#if>
					<#else>未分配
				</#if>
				<i class="layui-icon " style="float: right;">&#xe625;</i>
					<ul class="ukefu-dropdown-menu layui-anim layui-anim-upbit ukefu-dropdown-menu-temp">
							<li>
								<a href="/apps/contacts/notdis.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=notdis" style="    padding: 5px 0px;">
									未分配
								</a>
							</li>
						<li>
							<a href="/apps/contacts/disagent.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=disagent" style="    padding: 5px 0px;">
								已分配
							</a>
						</li>
						<li>
							<a href="/apps/contacts/disview.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=disview" style="    padding: 5px 0px;">
								分配情况
							</a>
						</li>
					</ul>
				
				</li>
			</div>
			</#if>
			
		
			<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B20"]?? || user.usertype == "0")) >
			<li <#if  maintype=="contacts" && contactstype == "wasted">class="layui-this"</#if>><a href="/apps/contacts/wasted.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=wasted">已作废</a></li>
			</#if>
			
			
			
			<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B21"]?? || user.usertype == "0")) >
			<li <#if  maintype=="contacts" && typename == "reserved">class="layui-this"</#if>><a href="/apps/contacts/reserved.html?itemid=${itemid!''}&ckind=${ckind!''}&contactstype=reserved">已预约</a></li>
			</#if>
			
			<#if models?? && models["callcenter"]?? && models["callcenter"] == true>
			<#if (isSup?? && isSup) || (user?? && user.superuser) || (user?? && (user.roleAuthMap["A02_A01_A02_B23"]?? || user.usertype == "0")) >
			<div class="layui-btn-group ukefu-btn-group ukefu-contacts-h1-btn" >
				<li class="<#if  maintype=='contacts' && typename == 'quality'>layui-this</#if> ukefu-quality-i-menu">
					<#if qualitystatus??>
						<#if qualitystatus == 'qualityowner'>
							待质检
						<#elseif qualitystatus == 'qualitypass'>
							质检通过
						<#elseif qualitystatus == 'qualityfaild'>
							质检未通过
						<#elseif qualitystatus == 'qualityresult'>
							我的质检结果
						</#if>
					<#else>
						待质检
					</#if>
					<i class="layui-icon" style="float: right;">&#xe625;</i>
				<ul class="ukefu-dropdown-menu layui-anim layui-anim-upbit ukefu-dropdown-menu-temp">
					<li>
						<a href="/apps/contacts/quality.html?itemid=${itemid!''}&ckind=${ckind!''}&qualitystatus=qualityowner&contactstype=qualityowner" style="    padding: 5px 0px;">
							待质检
						</a>
					</li>
					<li>
						<a href="/apps/contacts/quality/index.html?itemid=${itemid!''}&ckind=${ckind!''}&qualitystatus=qualityresult&contactstype=qualityresult" style="    padding: 5px 0px;">
							我的质检结果
						</a>
					</li>
					<li>
						<a href="/apps/contacts/quality/index.html?itemid=${itemid!''}&ckind=${ckind!''}&qualitystatus=qualitypass&contactstype=qualitypass" style="    padding: 5px 0px;">
							质检通过
						</a>
					</li>
					<li>
						<a href="/apps/contacts/quality/index.html?itemid=${itemid!''}&ckind=${ckind!''}&qualitystatus=qualityfaild&contactstype=qualityfaild" style="    padding: 5px 0px;">
							质检未通过
						</a>
					</li>
				</ul>
				</li>
			</div>
			</#if>
			</#if>		
		</ul>
	</div>
	<script type="text/javascript">
		$('.ukefu-i-menu').hover(function(){
		    $(".ukefu-ul-menu").css("display","inline-grid");
		},function(){
		    $(".ukefu-ul-menu").css("display","none");
		});
		$('.ukefu-quality-i-menu').hover(function(){
		    $(".ukefu-quality-ul-menu").css("display","inline-grid");
		},function(){
		    $(".ukefu-quality-ul-menu").css("display","none");
		});
		$('.ukefu-creater-i-menu').hover(function(){
		    $(".ukefu-creater-ul-menu").css("display","inline-grid");
		},function(){
		    $(".ukefu-creater-ul-menu").css("display","none");
		});
		$('.ukefu-notdis-i-menu').hover(function(){
		    $(".ukefu-notdis-ul-menu").css("display","inline-grid");
		},function(){
		    $(".ukefu-notdis-ul-menu").css("display","none");
		});
	</script>